package o;

import android.view.View;
import java.util.HashMap;
import java.util.Map;

public class fms {
    private static fms ॱ = new fms();
    private final Map<Class<? extends View>, fmo> ˊ = new HashMap();
    private flq ˎ;

    private fms() {
    }

    public static fms ˎ() {
        return ॱ;
    }

    public flq ॱ() {
        return this.ˎ;
    }

    public fmo ॱ(Class<? extends View> cls) {
        fmo o_fmo = (fmo) this.ˊ.get(cls);
        if (o_fmo != null) {
            return o_fmo;
        }
        Class superclass = cls.getSuperclass();
        if (superclass != Object.class) {
            return ॱ(superclass);
        }
        return null;
    }
}
